package com.woniu.smallmedical.server.serverimpl;

import com.woniu.smallmedical.entity.Receptiontype;
import com.woniu.smallmedical.mapper.ReceptiontypeMapper;
import com.woniu.smallmedical.server.ReceptiontypeServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ReceptiontypeServerImpl implements ReceptiontypeServer {
    @Autowired
    ReceptiontypeMapper receptiontypeMapper;
    @Override
    public List<Receptiontype> selectReceptiontype() {
        List<Receptiontype> receptiontypes = receptiontypeMapper.selectReceptiontype();
        return receptiontypes;
    }
}
